package com.socialuni.center.web.model.RO.user;

import com.socialuni.sdk.api.model.RO.user.base.SocialUserFollowDetailRO;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author qinkaiyuan 查询结果可以没有set和空构造，前台传值可以没有get
 * @date 2019-08-13 23:34
 */
@Data
@NoArgsConstructor
public class CenterUserFollowDetailRO extends SocialUserFollowDetailRO {
    private String followStatus;
    private Boolean beFollow;

    public CenterUserFollowDetailRO(SocialUserFollowDetailRO userRO) {
        super(userRO);
        this.beFollow = userRO.getHasBeFollowed();
    }

    public CenterUserFollowDetailRO(CenterUserFollowDetailRO userRO) {
        super(userRO);
        this.followStatus = userRO.getFollowStatus();
    }
}
